package test;

import org.springframework.stereotype.Component;

@Component("truck")
public class Truck implements drive{
    public void cars()
    {
        System.out.println("Truck cars");
    }
}
